package me.zk.service.impl;

import me.zk.service.DemoService;
import me.zk.service.HService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

/**
 * @author zhangkai
 * @date 2023/7/14 14:30
 */
@Service
public class DemoServiceImpl2 implements DemoService {

    private HService hService;
    @Autowired
    @Lazy
    public DemoServiceImpl2(HService hService) {
        this.hService = hService;
    }
}
